package com.mapper;

import com.entity.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper {

    List<Department> findAll();

    public int addDepartment(Department department);
    public int deleteDepartment(String dpnum);
    public int editDepartment(Department department);
    public Department upDepartment(String dpnum);

}
